/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package checkers.businessLogic.game;

/**
 *
 * @author artinshahverdian
 */
public class Piece {

    private Color color;
    private Type type;

    public Piece(Piece.Color color, Piece.Type type) {
        this.color = color;
        this.type = type;
    }

    /**
     * @return the color
     */
    public Piece.Color getColor() {
        return color;
    }

    /**
     * @param color the color to set
     */
    public void setColor(Piece.Color color) {
        this.color = color;
    }

    /**
     * @return the position
     */
    /**
     * @return the type
     */
    public Piece.Type getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(Piece.Type type) {
        this.type = type;
    }

    public static enum Color {

        BLACK,
        WHITE;
    }

    static enum Type {

        PIECE,
        KING;
    }
}
